package top.malegod.model;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import java.util.Date;

/**
 * Create by IntelliJ IDEA
 *
 * @author: AbelEthan
 * @date-Time: 2018/5/10 15:46
 * @description:  用户
 */
@JsonInclude(Include.NON_NULL)
public class Manage {

  private String id;

  private String username;

  private String password;

  private String sex;

  private Integer age;

  private String phone;

  private String address;

  private Date crateTime;


  public Manage() {
  }

  public Manage(String id, String username, String password, String sex,
      Integer age, String phone, String address, Date crateTime
      ) {
    this.id = id;
    this.username = username;
    this.password = password;
    this.sex = sex;
    this.age = age;
    this.phone = phone;
    this.address = address;
    this.crateTime = crateTime;
  }

  public String getId() {
    return id;
  }

  public void setId(String id) {
    this.id = id;
  }

  public String getUsername() {
    return username;
  }

  public void setUsername(String username) {
    this.username = username;
  }

  public String getPassword() {
    return password;
  }

  public void setPassword(String password) {
    this.password = password;
  }


  public String getSex() {
    return sex;
  }

  public void setSex(String sex) {
    this.sex = sex;
  }

  public Integer getAge() {
    return age;
  }

  public void setAge(Integer age) {
    this.age = age;
  }

  public String getPhone() {
    return phone;
  }

  public void setPhone(String phone) {
    this.phone = phone;
  }

  public String getAddress() {
    return address;
  }

  public void setAddress(String address) {
    this.address = address;
  }

  public Date getCrateTime() {
    return crateTime;
  }

  public void setCrateTime(Date crateTime) {
    this.crateTime = crateTime;
  }

  @Override
  public String toString() {
    return "User{" +
        "id='" + id + '\'' +
        ", username='" + username + '\'' +
        ", password='" + password + '\'' +
        ", sex='" + sex + '\'' +
        ", age=" + age +
        ", phone='" + phone + '\'' +
        ", address='" + address + '\'' +
        ", crateTime=" + crateTime +
        '}';
  }
}
